package com.earl.qrcode.service;

import java.io.IOException;
import java.io.InputStream;
import java.util.Properties;

public class MyService {

	public String getDomainName() throws IOException {
		Properties prop = new Properties();
		InputStream in = this.getClass().getResourceAsStream("url.properties");
		prop.load(in);
		String goodsURL = prop.getProperty("domainName");

		return goodsURL;
	}
	
}
